package net.topcrazy.blog.dao;

import java.util.List;
import java.util.Map;

import net.topcrazy.base.db.dao.MySqlBaseDAO;

import org.springframework.stereotype.Repository;
@Repository
public class ArticleDAO extends MySqlBaseDAO{
	public void query() throws Exception{
		List<Map<String, Object>> list=this.getDbTemplate().findForList("select * from cis_articles");
		System.out.println(list.size());
	}
}
